package com.okaixz.client.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.okaixz.client.model.domain.KbAssistant;
import com.okaixz.client.model.domain.KbUserAssistantInfoNew;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author cdz
 * @since 2025-11-11
 */
public interface IKbUserAssistantInfoNewService extends IService<KbUserAssistantInfoNew> {

    List<KbAssistant> getAssistantByUserIdAndSex(String userId,int sex);
    List<KbAssistant> getAssistantByUserIdAndSex();
    List<KbAssistant> saveOrUpdateByUserIdAndSex(List<Long> ids,String userId,int sex);
    List<KbAssistant> saveOrUpdateByUserIdAndSex(List<Long> ids);
    KbAssistant addAssistant(Long id,int type);

    //批量查询 里面可能有系统标签也可能有自定义标签 自定义标签id>10000
    List<KbAssistant> getKbAssistantByIds(List< Long> ids);
}
